package com.ych.redis.init;

/**
 * @BelongsProject: ape-frame
 * @BelongsPackage: com.ych.redis.cache
 * @Author: ych
 * @CreateTime: 2024-11-26  11:59
 * @Description: TODO
 * @Version: 1.0
 */

public abstract class AbstractCache {

    public abstract void initCache();


    public abstract void clearCache();

    public void reloadCache() {
        clearCache();
        initCache();
    }

    public abstract <T> T getCache();


}
